<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<load href="__PUBLIC__/Css/css.css" />
<load href="__PUBLIC__/Js/jquery-1.10.2.min.js"/>
<load href="__PUBLIC__/Js/jquery-1.8.3.min.js"/>
<script>
function reset(){
     $('#myform').reset();
}
</script>
<title>我们论坛首页</title>
</head>

<body>

<div id="wapper">
	<div class="header">
		<div class="kuang">
			<div class="type">
				<ul>
					<li><a href="{:U('Message/tiezi',array('class' => '生活类'))}">生活类</a></li>
					<li><a href="{:U('Message/tiezi',array('class' => '学习类'))}">学习类</a></li>
					<li><a href="{:U('Message/tiezi',array('class' => '娱乐类'))}">娱乐类</a></li>
					<li style="border:none"><a href="{:U('Message/tiezi',array('class' => '时事类'))}">时事类</a></li>
				</ul>
			</div>
		
		</div>
			
			
	</div>
	
	<div id="index">
		<div class="kuang">
			<div class="id-ct">
			
				<div class="ourname">
					<h2>OUR TIPS</h2>
					<h1>爱贴吧爱生活</h1>
				
				
				</div>
	
			
				<div class="login">
				<div class="login-left">
					
				
					<div class="sousuo">
					<form action="{:U('Index/search')}" target="iframe_b" method="post" id="myform">
						<input type="text" class="surf" name="keyword">
						<input type="submit" value="搜索" class="surf-bt">
					</form>
					</div>
				
					<div class="mylogin">
					    <h2>我在贴吧</h2>
						<img src='__PUBLIC__/uploads/{$ar.head}'>
						<p>{$ar.username}</p>
						<a href="{:U('Mypage/mypage')}" id="aaa">个人中心</a>
						<a href="{:U('Index/publish')}" id="aaa" target="iframe_b">发布帖子</a>
						
					</div>
					
					<div class="mylogin" >
					     <h2>最热排名：</h2>
						<foreach name='li' item='vo'>
						<a href="{:U('Message/remen',array('tid' => $vo['tid']))}"><p>{$vo.title}</p></a>
						</foreach>
						
					</div>
					
					
					
					
					<div class="mylogin">
					    <h2>我的关注：</h2>
						<foreach name='data' item='vo'>
						<a href=""><span>{$vo.username}</span></a>
						</foreach>
					</div>
					
					
					<div class="mylogin">
					   <h2>分类：</h2>
						<a href="{:U('Message/tiezi',array('class' => '生活类'))}"><span>生活类</span></a>
						<a href="{:U('Message/tiezi',array('class' => '学习类'))}"><span>学习类</span></a>
						<a href="{:U('Message/tiezi',array('class' => '娱乐类'))}"><span>娱乐类</span></a>
						<a href="{:U('Message/tiezi',array('class' => '时事类'))}"><span>时事类</span></a>
						
					</div>
					
					
					</div>
					
					
					<div class="login-right">
					<div class="hot">
					<iframe  name="iframe_b"  src="{:U('Index/hot')}" class="show" frameborder="0"></iframe>
						
						</div>
						
						
					   </div>
					</div>
			  </div>	
					
	
		</div>
				
				
	</div>
			
	
  </div>







</body>
</html>
